package com.yuelife.service.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import java.io.Serializable;

/****
 * @Author:admin
 * @Description:SCommonClass构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "SCommonClass",value = "SCommonClass")
@Table(name="s_common_class")
public class SCommonClass implements Serializable{

	@ApiModelProperty(value = "主键(自增长)评论分类id",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "common_class_id")
	private Integer commonClassId;//主键(自增长)评论分类id

	@ApiModelProperty(value = "评论分类名称",required = false)
    @Column(name = "classmessage")
	private String classmessage;//评论分类名称



	//get方法
	public Integer getCommonClassId() {
		return commonClassId;
	}

	//set方法
	public void setCommonClassId(Integer commonClassId) {
		this.commonClassId = commonClassId;
	}
	//get方法
	public String getClassmessage() {
		return classmessage;
	}

	//set方法
	public void setClassmessage(String classmessage) {
		this.classmessage = classmessage;
	}


}
